package cn.wolfcode.rbac.query;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by Administrator on 2020/6/11 0011.
 */
@Getter
@Setter
public class QueryObject {
    private Integer currentPage = 1;
    private Integer pageSize =  5;

    public Integer getStart(){
        return (currentPage - 1 ) * pageSize;
    }

    public String success(){
        return "ok";
    }
}
